﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PJ.Business.Partner;
using PJ.Framework.Common;
using PJ.Data.SalePurchase;

namespace PJ.Business.SalePurchase
{
    /// <summary>
    /// ShoppingCartItemService class
    /// </summary>
    /// <typeparam name="O">Object to serve type</typeparam>
    /// <typeparam name="OD">Inner data object type</typeparam>
    /// <typeparam name="ODP">Inner data object provider type</typeparam>
    public abstract class ShoppingCartItemService<OI, OD, ODP> : OrderedFragmentService<OI, OD, ODP>, IShoppingCartItemService<OI>
        where OI : class, IShoppingCartItem
        where OD : class, IShoppingCartItemData
        where ODP : class, IShoppingCartItemDataService<OD>
    {
        public ShoppingCartItemService(ODP dataService)
            : base(dataService)
        {
        }

    }
}
